home *** CD-ROM | disk | FTP | other *** search
- Sub MAIN
- MsgBox "Correct password must be entered to continue", \
- "Password Locked"
- AppMinimize
- Repeat:
- Input "Enter password", a$
- If a$ = "password" Then
- Goto done
- Else
- Beep
- pw = pw + 1
- Goto repeat
- End If
- Goto repeat
- done:
- If pw > 0 Then
- MsgBox "Incorrect password entered" \
- + Str$(pw) + " times", "Password Unlocked"
- End If
- AppMaximize
- End Sub
-
-